package models;

import play.*;
import play.db.jpa.*;

import javax.persistence.*;
import java.util.*;

@Entity
public class User extends Model {
	
	//public long fbId;
	
	//@CollectionOfElements
	//public Set<Attribute> attributes;
//	private Map<String,Point> points = new HashMap<String,Point>();
	//private List<Badge> badges = new ArrayList<Badge>();
	
	
	/*public void addPoint(Point p){
		points.put(p.uniqueId, p);
	}
	
	public void addBadge(Badge b){
		badges.add(b);
	}
	
	public Map<String, Point> getPoints(){
		return points;
	}
	
	public List<Badge> getBadges(){
		return badges;
	}
	
	
	public Point getPoints(String uniqueId){
		
		if(points.containsKey(uniqueId)){
		  return points.get(uniqueId);
		}
		return null;
	}*/
	
		
}

